﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Easydp.Models.Entities
{
    public enum OrderState
    {
        NoPay,
        WaitTicket,
        Print,
        Retuned,
        NoState
    }

   public class TT_Orders
    {
        private int orderID;
        public int OrderID
        {
            get
            {
                return orderID;
            }
            set
            {
                if (this.orderID != value)
                    this.orderID = value;
            }
        }

        private string remark;
        public string Remark
        {
            get { return remark; }
            set { if (this.remark != value)this.remark = value; }
        }


        private string orderNum;
        public string OrderNum
        {
            get
            {
                return orderNum;
            }
            set
            {
                if (this.orderNum != value)
                    this.orderNum = value;
            }
        }

        private int userID;
        public int UserID
        {
            get
            {
                return userID;
            }
            set
            {
                if (this.userID != value)
                    this.userID = value;
            }
        }

        private int agentID;
        public int AgentID
        {
            get
            {
                return agentID;
            }
            set
            {
                if (this.agentID != value)
                    this.agentID = value;
            }
        }

        private DateTime ticketDate;
        public DateTime TicketDate
        {
            get
            {
                return ticketDate;
            }
            set
            {
                if (this.ticketDate != value)
                    this.ticketDate = value;
            }
        }

        private string startStation;
        public string StartStation
        {
            get
            {
                return startStation;
            }
            set
            {
                if (this.startStation != value)
                    this.startStation = value;
            }
        }

        private string endStation;
        public string EndStation
        {
            get
            {
                return endStation;
            }
            set
            {
                if (this.endStation != value)
                    this.endStation = value;
            }
        }

        private string trainNumber;
        public string TrainNumber
        {
            get
            {
                return trainNumber;
            }
            set
            {
                if (this.trainNumber != value)
                    this.trainNumber = value;
            }
        }

        private string userName;
        public string UserName
        {
            get
            {
                return userName;
            }
            set
            {
                if (this.userName != value)
                    this.userName = value;
            }
        }

        private string userTelphone;
        public string UserTelphone
        {
            get
            {
                return userTelphone;
            }
            set
            {
                if (this.userTelphone != value)
                    this.userTelphone = value;
            }
        }

        private string pew;
        public string Pew
        {
            get
            {
                return pew;
            }
            set
            {
                if (this.pew != value)
                    this.pew = value;
            }
        }

        private System.Decimal unitPrice;
        public System.Decimal UnitPrice
        {
            get
            {
                return unitPrice;
            }
            set
            {
                if (this.unitPrice != value)
                    this.unitPrice = value;
            }
        }

        private System.Decimal payPoundage;
        public System.Decimal PayPoundage
        {
            get
            {
                return payPoundage;
            }
            set
            {
                if (this.payPoundage != value)
                    this.payPoundage = value;
            }
        }

        private System.Decimal totalMoney;
        public System.Decimal TotalMoney
        {
            get
            {
                return totalMoney;
            }
            set
            {
                if (this.totalMoney != value)
                    this.totalMoney = value;
            }
        }

        private System.Decimal payMoney;
        public System.Decimal PayMoney
        {
            get
            {
                return payMoney;
            }
            set
            {
                if (this.payMoney != value)
                    this.payMoney = value;
            }
        }

        private int amount;
        public int Amount
        {
            get
            {
                return amount;
            }
            set
            {
                if (this.amount != value)
                    this.amount = value;
            }
        }



        private int orderState;
        public int OrderState
        {
            get
            {
                return orderState;
            }
            set
            {
                if (this.orderState != value)
                    this.orderState = value;
            }
        }

        private string photoAuthCode;
        public string PhotoAuthCode
        {
            get
            {
                return photoAuthCode;
            }
            set
            {
                if (this.photoAuthCode != value)
                    this.photoAuthCode = value;
            }
        }
     

        private bool isCHD;
        public bool IsCHD
        {
            get
            {
                return isCHD;
            }
            set
            {
                if (this.isCHD != value)
                    this.isCHD = value;
            }
        }

        private DateTime createOn;
        public DateTime CreateOn
        {
            get
            {
                return createOn;
            }
            set
            {
                if (this.createOn != value)
                    this.createOn = value;
            }
        }


    }
}
